import request from '../utils/request';
//登陆
export const getArticleListAPI = (params) => {
  return request({
    url: '/v1_0/mp/articles',
    params,
  });
};
export const delArticleListAPI = (id) => {
  return request({
    url: '/v1_0/mp/articles/' + id,
    method: 'delete',
  });
};
// const data = {
//   title: '123',
//   content: '123',
//   cover: { type: 0, images: [] },
//   channel_id: 0,
// };

// function aa(data) {
//   return request({
//     url: '/v1_0/mp/articles',
//     method: 'post',
//     data,
//   });
// }

// aa(data);
